package com.kunyi.web.service.file.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.kunyi.web.service.file.entity.domain.Upload;
import com.kunyi.web.service.file.mapper.IUploadMapper;
import com.kunyi.web.service.file.service.IUploadService;
import org.springframework.stereotype.Service;

/**
 * @ClassName UploadServiceImpl
 * @Description upload表相关业务实现
 * @Author pengjunjun
 * @Date 2024/03/04
 * @Version 1.0
 **/
@Service
public class UploadServiceImpl extends ServiceImpl<IUploadMapper, Upload> implements IUploadService {
    @Override
    public Upload getByFileName(String fileName) {
        return baseMapper.selectByName(fileName);
    }
}
